package com.yuanchu.store.service;

import com.yuanchu.store.entity.YoshopUserEntity;

import java.util.Map;

/**
 * @version: 1.0
 * @Author: adan
 * @description: 统一认证service
 * @date: 2024-01-15 22:32
 */
public interface LoginService {

    /**
     * 登录
     * @param code code码
     * @param oauth 时期类型 wxcaht
     * @param userInfo 用户信息
     * @return token
     */
    Map<String, Object> login(String code, String oauth, YoshopUserEntity userInfo);

    // Map<String, Object> login(String openId, String authType, AuthParamsDto authParamsDto);


}
